package DiYiZhou2;

import java.util.Scanner;

public class LianXi7 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个年份");
        int a= scanner.nextInt();
        if ((a%4==0&& a%100!=0) ||(a%400==0)){
            System.out.println("是闰年");
        }else {
            System.out.println("是平年");
        }

        System.out.println("请输入你所在的年级");
        int grade= scanner.nextInt();
        switch (grade){
            case 1: System.out.println("大一是新的开始...");break;
            case 2: System.out.println("大二了吧...");break;
            case 3: System.out.println("大三或许可以考研...");break;
            case 4: System.out.println("大四，终于毕业了，恭喜你...");break;
            case 5: System.out.println("？？？？？");break;
        }

    }
}
